<!doctype html>
<html>
<head>
<meta charset="utf-8">
<link href="/CarHistory/bootstrap/css/bootstrap.css" rel="stylesheet">
<title>用户登录</title>

</head>
<body>
<div class="container">
	<h1 class="page-header">用户登录</h1>
	<form id="flogin" action="/CarHistory/account/doLogin" method="post" class="form-horizontal">
		<label>用户：</label> 
		<input type="text" name="account" class="span3" placeholder="输入用户名"/>
		<p class="help-block">请输入您的用户名</p>
		<label>密码：</label>
		<input type="password" name="pwd" class="span3" placeholder="输入用户密码"/>
		<p class="help-block">请输入您的用户密码</p>
		<label>
			<input name="submit" type="submit" value=" 登     录    " /> 
			<input name="reset" type="reset"   value=" 重     置    " />
		</label>
	</form>
</div>
<!-- jQuery (Bootstrap 的 JavaScript 插件需要引入 jQuery) -->
<script src="/CarHistory/bootstrap/js/jquery-1.11.3.min.js"></script>
<!-- 包括所有已编译的插件 -->
<script src="/CarHistory/bootstrap/js/bootstrap.min.js"></script>
<script src="/CarHistory/bootstrap/js/bootstrap-datetimepicker.min.js"></script>
<script src="/CarHistory/bootstrap/js/bootstrap-datetimepicker.zh-CN.js"></script>
<script>
	function login() {
		var account = document.getElementById("account");
		var pwd = document.getElementById("pwd");
		if (account.value == "") {
			alert("请输入用户名");
			account.focus();
			return;
		}
		if (pwd.value == "") {
			alert("请输入密码");
			return;
		}
		return true;
	}
</script>
</body>
</html>